package org.oslims.client.service;

import java.util.List;

import org.oslims.domain.SampleType;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface SampleTypeServiceAsync {

	void getAllSampleType(AsyncCallback<List<SampleType>> callback);

	void saveOrUpdateSampleType(SampleType sampleType, AsyncCallback<Void> callback);

	void getSampleTypes(int start, int length, String sortBy, boolean desc, AsyncCallback<List<SampleType>> callback);

	void getSampleTypeCount(AsyncCallback<Integer> callback);

}
